<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*,AdminController.AdminExe.AdminExeBean,ApplicationsYoung.ApplicationsYoungBean"%>
<jsp:useBean id="user" class="AdminController.AdminExe.AdminExeBean" />
<jsp:useBean id="list" class="ApplicationsYoung.ApplicationsYoungBean" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="/KOMORIUTA/Applications/Old/jquery.js" type="text/JavaScript"></script>
<script src="/KOMORIUTA/Applications/Old/Fm_AppOld.js" type="text/JavaScript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%

ApplicationsYoungBean aYbean[] = (ApplicationsYoungBean[])request.getAttribute("list");
String Vcheck = (String)request.getAttribute("Vlist");
String Dcheck = (String)request.getAttribute("Dlist");
AdminExeBean aeyBean[] = (AdminExeBean[])request.getAttribute("child");

%>
</head>
<body>
<table width="600" align="center" cellspacing="0" cellpadding="0">
  <tr valign="middle">
 
  	<%for(int i = 0 ; i < aYbean.length ; i++){ %> 
  	
    <td colspan="3" rowspan="6"  align="center"><div id="largeimg"><a href="#"><img src='/KOMORIUTA/Applications/Young/photo/<%=aYbean[i].getBby_Photo() %>' width="200" height="200"/></a></div></td>
  
    <td><div align="center">お名前</div></td>
    <td height="35">:  <%=aYbean[i].getMem_Nick() %></td>
  	</tr>
  <tr> 
    <td><div align="center">住所</div></td>
    <td height="35">:  <%=aYbean[i].getBby_Add() %></td>
  </tr>
  <tr> 
    <td width="18%"><div align="center">希望保育</div></td>
    <td width="46%" height="35">:  <%=aYbean[i].getBby_Kind() %></td>
  </tr>
  <%} %>
  <tr> 
    <td><div align="center">希望資格</div></td>
    <td height="36">:  <%=Vcheck.replace(",", " ") %></td>
  </tr>
  <tr> 
    <td><div align="center">希望曜日</div></td>
    <td height="34">:  <%=Dcheck.replace(",", " ") %></td>
  </tr>
  <tr> 
  <%for(int i = 0 ; i < aYbean.length ; i++){ %> 
    <td><div align="center">希望時間</div></td>
    	<%if(aYbean[i].getBby_Money().equals("1785")){ %>
    		<td height="37">:  「09:00 - 20:00」</td>
    	<%}else{ %>
    		<td height="37">:  「20:00 - 09:00」</td>
    	<%} %>
  </tr>
  <%} %>
  </table><br/>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
  	<%for(int j = 0 ; j < aeyBean.length ; j++){ 
  		
  	%>
  <td width="12%" height="200" align="center"><div id="thumnail"><a href="/KOMORIUTA/Applications/Young/photo/<%=aeyBean[j].getBbp_Photo() %>"><img src='/KOMORIUTA/Applications/Young/photo/<%=aeyBean[j].getBbp_Photo() %>' width="140" height="140"/></a></div></td>
    <%} %>
   
  </tr>
</table>
</body>
</html>